package com.zr.dto.staff;

import java.util.List;

public class StaffInfoResponse {

    /**
     * 返回码
     */
    private String code;
    /**
     * 返回信息
     */
    private String message;
    /**
     * 返回数据
     */
    private List<Data> data;
    /**
     * 数据总条数
     */
    private int total;

    public StaffInfoResponse(String code, String message) {
        super();
        this.code = code;
        this.message = message;
    }

    public StaffInfoResponse(String code, String message, List<Data> data) {
        this.code = code;
        this.message = message;
        this.data = data;
    }

    @Override
    public String toString() {
        return "StaffInfoResponse{" +
                "code='" + code + '\'' +
                ", message='" + message + '\'' +
                ", data=" + data +
                '}';
    }

    public static class Data{

        private int id;

        private String name;

        private String jobNumber;

        private String entryTime;

        private String sex;

        private String lobJobNumber;

        private String businessDept;

        private String deliveryDept;

        private int level;

        private int age;

        private String graduationDate;

        private String educationalBkg;

        private String phoneNumber;

        private String emergencyContact;

        private String emergencyPhoneNumber;

        public int getId() {
            return id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getJobNumber() {
            return jobNumber;
        }

        public void setJobNumber(String jobNumber) {
            this.jobNumber = jobNumber;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getEntryTime() {
            return entryTime;
        }

        public void setEntryTime(String entryTime) {
            this.entryTime = entryTime;
        }

        public String getSex() {
            return sex;
        }

        public void setSex(String sex) {
            this.sex = sex;
        }

        public String getLobJobNumber() {
            return lobJobNumber;
        }

        public void setLobJobNumber(String lobJobNumber) {
            this.lobJobNumber = lobJobNumber;
        }

        public String getBusinessDept() {
            return businessDept;
        }

        public void setBusinessDept(String businessDept) {
            this.businessDept = businessDept;
        }

        public String getDeliveryDept() {
            return deliveryDept;
        }

        public void setDeliveryDept(String deliveryDept) {
            this.deliveryDept = deliveryDept;
        }

        public int getLevel() {
            return level;
        }

        public void setLevel(int level) {
            this.level = level;
        }

        public int getAge() {
            return age;
        }

        public void setAge(int age) {
            this.age = age;
        }

        public String getGraduationDate() {
            return graduationDate;
        }

        public void setGraduationDate(String graduationDate) {
            this.graduationDate = graduationDate;
        }

        public String getEducationalBkg() {
            return educationalBkg;
        }

        public void setEducationalBkg(String educationalBkg) {
            this.educationalBkg = educationalBkg;
        }

        public String getPhoneNumber() {
            return phoneNumber;
        }

        public void setPhoneNumber(String phoneNumber) {
            this.phoneNumber = phoneNumber;
        }

        public String getEmergencyContact() {
            return emergencyContact;
        }

        public void setEmergencyContact(String emergencyContact) {
            this.emergencyContact = emergencyContact;
        }

        public String getEmergencyPhoneNumber() {
            return emergencyPhoneNumber;
        }

        public void setEmergencyPhoneNumber(String emergencyPhoneNumber) {
            this.emergencyPhoneNumber = emergencyPhoneNumber;
        }

//        public String getAddress() {
//            return address;
//        }
//
//        public void setAddress(String address) {
//            this.address = address;
//        }
//
//        public int getWorkYear() {
//            return workYear;
//        }
//
//        public void setWorkYear(int workYear) {
//            this.workYear = workYear;
//        }
//
//        public String getIdentificationNum() {
//            return identificationNum;
//        }
//
//        public void setIdentificationNum(String identificationNum) {
//            this.identificationNum = identificationNum;
//        }
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<Data> getData() {
        return data;
    }

    public void setData(List<Data> data) {
        this.data = data;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }
}
